package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.create.JzdxIdentityCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxIdentityResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxIdentityUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxIdentityEntity;

public interface JzdxIdentityService extends IService<JzdxIdentityEntity> {

    /**
     * 查询身份信息
     *
     * @param code 矫正对象编号
     * @return JzdxIdentityResultDTO
     */
    JzdxIdentityResultDTO find(String code);

    Boolean create(JzdxIdentityCreateDTO dto, String code);

    Boolean updateByCode(JzdxIdentityUpdateDTO dto, String code);

}